'Class Process represents an independent path of control in the system. This path of control may be stopped (by sending the instance the message suspend) in such a way that it can later be restarted (by sending the instance the message resume). When any one of several paths of control can be advanced, the single instance of ProcessorScheduler named Processor determines which one will actually be advanced partly using the instance''s priority.
Instance Variables:
suspendedContext <Context> activeContext at time of process suspension
priority <Integer> partial indication of relative scheduling
myList <LinkedList> on which I am suspended
processID <string> Unique identifier for this process not based on the OOP, thereby allowing parallel simulations. This is formed by concatenating my parents PID with a count of the number of proeccesses my parent has generated.
childCount Count of the number of child processes I have forked - used for generating the PID
Adding new instance variables is dangerous, do it like this: